package com.bite.rabbitmq.constant;

import org.springframework.stereotype.Component;

public class Constants {
    //work模式队列名称
    public static final String WORK_QUEUE = "work_queue";

    //发布订阅模式
    public static final String FANOUT_QUEUE1 = "fanout.queue1";
    public static final String FANOUT_QUEUE2 = "fanout.queue2";
    public static final String FANOUT_EXCHANGE = "fanout.exchange";

    //路由模式
    public static final String DIRECT_QUEUE1 = "direct.queue1";
    public static final String DIRECT_QUEUE2 = "direct.queue2";
    public static final String DIRECT_EXCHANGE = "direct.exchange";

    //通配符模式
    public static final String TOPIC_QUEUE1 = "topics_queue1";
    public static final String TOPIC_QUEUE2 = "topics_queue2";
    public static final String TOPIC_EXCHANGE = "topics_exchange";
}
